import request from '@/utils/request'

export default {
    // 获取消息列表
    getAllMessageByMemberId(memberId) {
        return request({
            url: `/taxation/message/getMessageByMemberId/${memberId}`,
            method: 'get',
        })
    },
    getMessageByMessageId(messageId) {
        return request({
            url: `/taxation/message/getMessageByMessageId/${messageId}`,
            method: 'get',
        })
    },
    // 添加留言
    addMessage(message) {
        return request({
            url: `/taxation/message/addMessage`,
            method: 'post',
            data: message
        })
    }
}

